package com.sys.ip;

public class IPTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String qqwryPath = System.getProperty("user.dir")+"/java/com/sys/ip/qqwry.dat";
		IPSeeker ips = new IPSeeker(qqwryPath);
		String ip = "118.67.115.231";
		System.out.println(""+ips.getAddress(ip));
		System.out.println(""+ips.getArea(ip));
		System.out.println(""+ips.getCountry(ip));
	}

}
